HAL OSPI macro migration ¶
This section provides information about the HAL OSPI macro migration.
HAL OSPI clear flag ¶
|
HAL1 |
HAL2 |
|---|---|
__HAL_OSPI_CLEAR_FLAG(__HANDLE__, __FLAG__)
|
__STATIC_INLINE void HAL_XSPI_ClearFlag(hal_xspi_handle_t *hxspi, uint32_t flag)
|
HAL OSPI disable ¶
|
HAL1 |
HAL2 |
|---|---|
__HAL_OSPI_DISABLE(__HANDLE__)
|
Replaced by : HAL_XSPI_DeInit(hal_xspi_handle_t *hxspi)
|
HAL OSPI disable IT ¶
|
HAL1 |
HAL2 |
|---|---|
__HAL_OSPI_DISABLE_IT(__HANDLE__, __INTERRUPT__)
|
__STATIC_INLINE void HAL_XSPI_DisableIT(hal_xspi_handle_t *hxspi, uint32_t it_source)
|
HAL OSPI enable ¶
|
HAL1 |
HAL2 |
|---|---|
__HAL_OSPI_ENABLE(__HANDLE__)
|
Replaced by : HAL_XSPI_SetConfig(hal_xspi_handle_t *hxspi, const hal_xspi_config_t *p_config)
|
HAL OSPI enable IT ¶
|
HAL1 |
HAL2 |
|---|---|
__HAL_OSPI_ENABLE_IT(__HANDLE__, __INTERRUPT__)
|
__STATIC_INLINE void HAL_XSPI_EnableIT(hal_xspi_handle_t *hxspi, uint32_t it_source)
|
HAL OSPI get flag ¶
|
HAL1 |
HAL2 |
|---|---|
__HAL_OSPI_GET_FLAG(__HANDLE__, __FLAG__)
|
Replaced by : HAL_XSPI_IsActiveFlag(const hal_xspi_handle_t *hxspi, uint32_t flag)
|
HAL OSPI get IT source ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_XSPI_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__)
|
Replaced by : HAL_XSPI_IsEnabledIT(const hal_xspi_handle_t *hxspi, uint32_t it_source)
|
HAL OSPI handle ¶
|
HAL1 |
HAL2 |
|---|---|
__HAL_OSPI_RESET_HANDLE_STATE(__HANDLE__)
|
Replaced by : HAL_XSPI_DeInit(hal_xspi_handle_t *hxspi)
|